import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import MuseUI from 'muse-ui'
import 'muse-ui/dist/muse-ui.css';
import 'typeface-roboto'
import theme from 'muse-ui/lib/theme';
import Helpers from 'muse-ui/lib/Helpers';
import BaiduMap from 'vue-baidu-map';
import Toast from 'muse-ui-toast';
import {Laue} from 'laue';

theme.add('teal', {
  primary: '#009688',
  secondary: '#ff4081',
  success: '#4caf50',
  warning: '#ffeb3b',
  info: '#212121',
}, 'light');
theme.use('teal');

Vue.use(MuseUI);
// 使用 muse-ui 的 Transitions、Directives、Ripple
Vue.use(Helpers);
Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: '3g9oi6F1GGi6Pq9dCz601pKiDqwyH4G0'
});
Vue.use(Toast);
Vue.use(Laue);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app');
